package org.xdq.demo.model;



import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class Emp {

    private String e_id;
    private String e_name;
    private Integer e_sex;


    private Date e_birth;

    private Integer e_status;

    private Dep dep;



    public String getE_statusName(){
        switch (e_status){
            case 0:return "未确定";
            case 1:return "已确定";
            case 2:return "已启用";
            case 3:return "已禁用";
            default :return null;
        }
    }


}
